package com.gy.spark.sparkstreaming.kafkaoffset;


public class TypeHelper {

    private static <K, V> scala.collection.immutable.Map<K, V> toScalaImmutableMap(java.util.Map<K, V> javaMap) {
        scala.collection.mutable.Map scalaMap = scala.collection.JavaConversions.mapAsScalaMap(javaMap);
        Object objTest = scala.collection.Map$.MODULE$.<String, String>newBuilder().$plus$plus$eq(scalaMap.toSeq());
        Object resultTest = ((scala.collection.mutable.Builder) objTest).result();
        scala.collection.immutable.Map<K, V> scala_imMap = (scala.collection.immutable.Map) resultTest;
        return scala_imMap;
    }
}
